package org.agile4j.patterns.prototype.prototypemanager;

public class ConcretePrototype1 implements Prototype{
	
	private String name ;
	
	@Override
	public Prototype clone(){
		Prototype prototype = new ConcretePrototype1() ;
		prototype.setName(this.name);
		return prototype;
	}

	@Override
	public String getName() {
		return name;
	}

	@Override
	public void setName(String name) {
		this.name = name ;
	}

	@Override
	public String toString() {
		return "ConcretePrototype1 [name=" + name + "]";
	}
	
}
